<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of News
 *
 * @author Laraki
 */
class News {
    public $link;
    public  $title;
    public  $contenu;
    public  $date;
    public  $photo;
    public  $source;
    public $source_icon;
    public  $categorie;

    public function __construct($link,$title,$contenu,$date,$photo,$source,$source_icon,$categorie) {
        $this->link=$link;
        $this->title=$title;
        $this->contenu=$contenu;
        $this->date=$date;
        $this->photo=$photo;
        $this->source=$source;
        $this->source_icon=$source_icon;
        $this->categorie=$categorie;
    }





}

?>
